package com.yunhe.policyfulfillment.policyful.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;
import java.io.Serializable;
/**
 * @description 企业申请材料
 * @author hetao
 * @date 2021-08-24
 */
@Data
@ApiModel("企业申请材料")
public class PolicyInfoApplyMaterial implements Serializable {


    private static final long serialVersionUID = -2428286340103531383L;
    /**
     * id
     */
    @ApiModelProperty("id")
    private Long id;

    /**
     * 文件标题
     */
    @ApiModelProperty("文件标题")
    private String title;

    /**
     * 文件名
     */
    @ApiModelProperty("文件名")
    private String fileName;

    /**
     * 文件地址
     */
    @ApiModelProperty("文件地址")
    private String url;

    /**
     * 申请事项id
     */
    @ApiModelProperty("申请事项id")
    private long applyMatterId;

    /**
     * 是否删除
     */
    @ApiModelProperty("是否删除")
    private String isDelete;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty("更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    public PolicyInfoApplyMaterial() {}
}